{% extends 'lenta/base.html' %}


{% block inline_style_block %}

	{{ super() }}

	#wrapper {
		margin: 30px 20px 30px 15px;
	}
	
	div.form-element {
		margin: 7px 5px 7px 5px;
	}

{% endblock inline_style_block %}


{% block main_content %}

  <div id="wrapper">  
    <form action="" method="post" id="lenta_form">
        
        {{ lenta_form (lenta, errors)|safe }}

        <button name="button" class="submit_button">Send</button>
    </form>
    
    <p style="text-align: right;">
      <a href="{{url_for('lenta.delete_lenta',
                        lenta_id=c.view_args.lenta_id)}}" class="delete">delete</a></p>
  </div>

{% endblock %}
